package com.epam.training.service.bookingitem;

import java.util.List;

import org.springframework.data.domain.Page;
import com.epam.training.domain.BookingItem;

public interface BookingItemService {
	List<BookingItem> getAllBookingItemForUser(String userName);

	Page<BookingItem> getAllBookingItem(Integer pageNumber);

	void save(BookingItem bookingItem);

	BookingItem getById(Integer id);
	
	void addPaymant(Integer id, Integer paymantId);

	
}
